package application;

import java.util.ArrayList;

public class Scene implements Comparable<Scene>{
	
	public int Nr;
	public String Name;
	public String Description;
	public String Date;
	public String Duration;
	public ArrayList<String> characters;
	public String location;
	public String File;
	public String Status;
	
	public Scene(int Nr, String Name, String Description,
			String Date, String Duration,
			ArrayList<String> characters,
			String location,
			String File,
			String Status){
		super();
		this.Nr = Nr;
		this.Name = Name;
		this.Description = Description;
		this.Date = Date;
		this.Duration = Duration;
		this.characters = characters;
		this.location = location;
		this.File = File;
		this.Status = Status;
	}
	
	public Scene(){
		super();
		this.Name = "new scene";
		this.Description = "this is a new scene";
		this.Date = "MM/DD/YYYY";
		this.Duration = null;
		this.characters = new ArrayList<String>();
		this.location = "";
		this.File = "";
		this.Status = "concept";
		this.Nr=-1;
	}
	
	public String toString() {
		return Nr + ". " + Name;
	}

	public int getNr() {
		return Nr;
	}

	public String getName() {
		return Name;
	}

	public String getDescription() {
		return Description;
	}

	public String getDuration() {
		return Duration;
	}


	public void setNr(int nr) {
		Nr = nr;
	}

	public void setName(String name) {
		Name = name;
	}

	public void setDescription(String description) {
		Description = description;
	}

	public void setDuration(String duration) {
		Duration = duration;
	}


	public String getFile() {
		return File;
	}

	public void setFile(String file) {
		File = file;
	}

	public String getStatus() {
		return Status;
	}

	public void setStatus(String status) {
		Status = status;
	}

	@Override
	public int compareTo(Scene o) {
		// TODO Auto-generated method stub
		return ((Integer)Nr).compareTo((Integer)o.Nr);
	}

	public ArrayList<String> getCharacters() {
		return characters;
	}

	public void setCharacters(ArrayList<String> characters) {
		this.characters = characters;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getDate() {
		return Date;
	}

	public void setDate(String date) {
		Date = date;
	}


	

}
